package com.ezops.dao.facade;

import java.io.Serializable;
import java.util.List;

import org.hibernate.Query;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import com.ezops.dao.ReportDAOImpl;
import com.ezops.dao.generics.dao.hibernate.GenericDAO;
import com.ezops.dao.generics.search.ISearch;
import com.ezops.models.Report;

/***
 * Reports DataTransfer Facade , handles all general Reports object cache access
 * operations
 * 
 * @author HindsC
 * 
 */
@Service
public class ReportDataTransferFacade extends DataTransferFacadeImpl<Report>
		implements IReportDataTransferFacade {

	final static Logger logger = LoggerFactory
			.getLogger(ReportDataTransferFacade.class);

	@Autowired
	private ReportDAOImpl dao;

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.ezops.dao.facade.IReportDataTransferFacade#getReportListSeq()
	 */
	@Override
	public List<Report> getReportListSeq() {
		return dao.getReportListSeq();
	}

	@Override
	public GenericDAO<Report, Serializable> getDataAccessObject() {
		// TODO Auto-generated method stub
		return dao;
	}
}
